﻿using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Data;
using ChBusiness.InterfaceClass;

/// <summary>
/// 获取用户待办业务--可刪除
/// </summary>
[WebService(Namespace = "http://intf.sbsm.gov.cn/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
// [System.Web.Script.Services.ScriptService]
public class GetBusinessService : System.Web.Services.WebService
{
    DXCenterClass dciTemp = new DXCenterClass();
    public GetBusinessService()
    {

        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    /// <summary>
    /// 获取用户待办业务
    /// </summary>
    /// <param name="strUserIP">用户IP</param>
    /// <param name="strNow">时间段</param>
    /// <returns></returns>
    /// <!--addby zhongjian 20100611-->
    [WebMethod(Description = "获取待处理信息，包含strUserIP 用户对应的IP地址")]
    public DataTable GetBussiness(string strUserIP,string strNow)
    {
        return dciTemp.GetBussinessByUserIP(strUserIP, strNow);
    }

}

